package main;

import javax.swing.event.TableModelListener;
import javax.swing.table.TableModel;

public class TestTableModel implements TableModel{

	public TestTableModel() {
	}

	@Override
  public int getRowCount() {
	  return 2;
  }

	@Override
  public int getColumnCount() {
	  return 2;
  }

	@Override
  public String getColumnName(int columnIndex) {
	  return "test" + Integer.toString(columnIndex);
  }

	@Override
  public Class<?> getColumnClass(int columnIndex) {
	  return null;
  }

	@Override
  public boolean isCellEditable(int rowIndex, int columnIndex) {
	  return false;
  }

	@Override
  public Object getValueAt(int rowIndex, int columnIndex) {
	  return 1;
  }

	@Override
  public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
  }

	@Override
  public void addTableModelListener(TableModelListener l) {
  }

	@Override
  public void removeTableModelListener(TableModelListener l) {
  }

}
